//
//  TMAppDelegate.h
//  TMSDK
//
//  Created by mac on 2021/4/30.
//  Copyright © 2021 Summer. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface TMAppDelegate : UIResponder<UIApplicationDelegate>

@property (nonatomic, strong) NSDictionary *launchUserInfo;

@property (nonatomic, strong) NSString *isLoadComplate;

@property (nonatomic, strong) NSURL * __nullable sourceOpenUrl;

@property (nonatomic, strong) NSDictionary *openURLOptions;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions;

- (void)applicationWillResignActive:(UIApplication *)application;

- (void)applicationDidEnterBackground:(UIApplication *)application;

- (void)applicationWillEnterForeground:(UIApplication *)application;

- (void)applicationDidBecomeActive:(UIApplication *)application;

- (void)applicationWillTerminate:(UIApplication *)application;

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;

- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error;

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler;

- (BOOL)application:(UIApplication*)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey, id>*)options;

@end

NS_ASSUME_NONNULL_END
